<?php
class GalleryHelper extends AppHelper {
	public $helpers = array ('Html','Javascript','Session');
	public $components = array( 'CmpGallery');
	
	function __construct(){
		parent::__construct();
//		Controller::loadModel('Gallery');		
	}
	
	function index($gallery){
//		$this->_links = $this->Links->getLinks();
		return $this->CmpGallery->get($gallery);
	}
}